﻿using System;
using System.Collections.Generic;
using System.Text;

namespace GameProtocol
{
    public sealed class MatchProtocol
    {
        /// <summary>
        /// 刷新房间请求
        /// </summary>
        public const int ReFresh_CREQ = 0;

        /// <summary>
        /// 刷新房间列表响应
        /// </summary>
        public const int ReFresh_SRES = 1;

        /// <summary>
        /// 进入房间请求
        /// </summary>
        public const int Enter_CREQ = 2;

        /// <summary>
        /// 进入房间响应
        /// </summary>
        public const int Enter_SRES = 3;

        /// <summary>
        /// 离开房间请求
        /// </summary>
        public const int Leave_CREQ = 4;

        /// <summary>
        /// 离开房间响应
        /// </summary>
        public const int Leave_SRES = 5;

        /// <summary>
        /// 更换队列请求
        /// </summary>
        public const int Change_CREQ = 6;

        /// <summary>
        /// 更换队列响应
        /// </summary>
        public const int Change_SRES = 7;

        /// <summary>
        /// 创建房间请求
        /// </summary>
        public const int Create_CREQ = 8;

        /// <summary>
        /// 创建房间响应
        /// </summary>
        public const int Create_SRES = 9;

        /// <summary>
        /// 房主点击开始游戏请求
        /// </summary>
        public const int Start_CREQ = 10;

        /// <summary>
        /// 房主开始游戏响应
        /// </summary>
        public const int Start_SRES = 11;

        public const int Chat_CREQ = 12;

        public const int Chat_SRES = 13;
    }
}
